package com.oa.admin.service;

import com.baomidou.mybatisplus.service.IService;
import com.joneying.common.web.response.Resp;
import com.oa.admin.dto.CertificationBodySaveDTO;
import com.oa.admin.vo.CertificationBodyDetailsVO;
import com.oa.core.PageResult;
import com.oa.admin.entity.CertificationBody;

/**
 * <p>
 * 认证机构 服务类
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
public interface ICertificationBodyService extends IService<CertificationBody> {
    /**
     * 自定义分页
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResult<CertificationBody> findList(Integer pageNum, Integer pageSize);

    /**
    * 根据id查询
    */
    CertificationBody findCertificationBodyById(String id);

    CertificationBodyDetailsVO findCertificationBodyDetails(String id);

    Resp add(CertificationBodySaveDTO certificationBodySaveDTO);

    Resp edit(CertificationBodySaveDTO certificationBodySaveDTO);
}
